package kr.hkit.powerjava.chapter04;

import java.util.Scanner;

public class Add2 {
	
	public static void main(String[] args) {
		
		Scanner input = new Scanner(System.in);
		
		int x;
		int y;
		int sum;
		
		System.out.println("첫 번째 숫자를 입력하시오: ");
		x=input.nextInt();
		
		System.out.println("두 번째 숫자를 입렵하시오: ");
		y=input.nextInt();
		
		sum=x+y;
		
		System.out.println("입력한 " + x + " , "+ y +"의합은 " +sum);
		
		System.out.println("문장을 입력하세요");
		String str =input.next();
		System.out.println("입력한 문장은 : "+str);
		
	}
	
}
